package service

//func Login(u *model.SysUser) (err error, userInter *model.SysUser) {
//	var user_service model.SysUser
//	u.Password = utils.MD5V([]byte(u.Password))
//	err = global.GvaDb.Where("username = ? AND password = ?", u.Username, u.Password).Preload("Authority").First(&user_service).Error
//	return err, &user_service
//}
